package com.ewzj.bigdata.di.module

import com.ewzj.bigdata.mvp.contract.LogoContract
import com.ewzj.bigdata.mvp.model.LogoModel
import com.jess.arms.di.scope.ActivityScope
import dagger.Module
import dagger.Provides
import javax.inject.Inject

/**
 * author:zhangjing
 * 作用:
 * return:
 */
@ActivityScope
@Module
class LogoModule @Inject constructor(val view:LogoContract.View){
    @ActivityScope
    @Provides
    fun provideView():LogoContract.View{
        return view;
    }
    @ActivityScope
    @Provides
    fun provideModle(model:LogoModel):LogoContract.Model{
        return model;
    }
}